package lab02.Text29;

/**
 * Created by Administrator on 2017/11/2.
 */
public class Text {
    public static void main(String[] args) {
        int [] numbers=new int[5];
        numbers[0]=15;
        numbers[1]=21;
        numbers[2]=36;
        numbers[3]=48;
        numbers[4]=59;
        try{
            System.out.println(numbers[5]);
        }
        catch(ArrayIndexOutOfBoundsException e){
            System.out.println("数组下标越界了！！");
        }
        finally{
            System.out.println("不管怎样都会运行的代码！！");
        }
    }
}
